import java.util.Arrays;

/**
 * Created with IntelliJ IDEA.
 * Description
 * User: cjc
 * Date: 2025-03-11
 * Time: 14:55
 */
public class Test {
    public static void main(String[] args) {
        int[] array = new int[]{9,6,10,5,3,7,8};
        int flag = Arrays.binarySearch(array,1,3,2);
        System.out.println(flag);
        Arrays.parallelSort(array);
        Arrays.sort(array);
        System.out.println(Arrays.toString(array));
    }
}
